Change the alignment of an element
Alignment determines how an element resizes. For example, a left aligned element stretches to the right as the parent layout container gets resized.
To change the alignment of an element
- In a grid panel, click the element for which you want to change alignment to select the element. If Width and Height for that element are set to Auto under Layout in the Properties panel, then the object may appear to collapse when you change HorizontalAlignment or VerticalAlignment properties in the Properties panel.
- Under Layout in the Properties panel, do
one of the
following:
- Change the HorizontalAlignment property by clicking Left
, Center
, Right
, or Stretch
.
- Change the VerticalAlignment property by clicking Top
, Center
, Bottom
, or Stretch
.
- Change the HorizontalAlignment property by clicking Left
![]() |
You can also change alignment by moving an element on the
artboard. Notice how the HorizontalAlignment and VerticalAlignment
properties change as you move the object to different regions of the grid
panel. In Grid layout mode
![]() |